const mixin = {
	data() {
		return {
			height:'80%',
			key:''
		}
	},
	mounted() {},
	onLoad(e) {
		setTimeout(() => {
			const query = uni.createSelectorQuery().in(this);
			query.select("#lzmescroll").boundingClientRect((data) => {
				if (data) {
					this.height = data.height + 'px'
				}
			}).exec();
		},500)
		if(e.title){
			uni.setNavigationBarTitle({
				title: e.title
			});
		}
		if(e.key){
			console.log('e.key',e.key);
			this.key = e.key
		}
	},
	methods: {

	}
}

export default mixin